package com.hc.fdkgoods.controller;


import com.hc.fdkgoods.common.Result;
import com.hc.fdkgoods.service.ForwarderSupplierCasSearchService_5;
import com.hc.fdkgoods.service.QueryFriendListService;
import com.hc.fdkgoods.vo.ForwarderWholeVO_1;
import com.hc.fdkgoods.vo.ShopIdListVO_15;
import com.hc.fdkgoods.vo.vo_5.ForwarderPageInitVO_5;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/query/wait")
public class QueryFriendController {

    @Resource
    QueryFriendListService queryFriendListService;

    @GetMapping("/push/biz/summary/list")
    public Result<ForwarderWholeVO_1> queryShop() {
        return Result.ok(queryFriendListService.queryFriendList());
    }


    @Resource
    ForwarderSupplierCasSearchService_5 casSearchService_5;
    @GetMapping("/push/page/init")
    public Result<ForwarderPageInitVO_5> casSearch(){
        return Result.ok(casSearchService_5.getCasSearch());
    }
}
